<?php
/*
 * @component AlphaGetCouponCode
 * @copyright Copyright (C) 2008 Bernard Gilly
 * @license : GNU/GPL
 * @Website : http://www.alphaplug.com
 */

// no direct access
defined('_JEXEC') or die('Restricted access');


function agcc_CopySite ($align='center') {
	// Get Copyright for Backend
	$copyStart = 2008; 
	$copyNow = date('Y');  
	if ($copyStart == $copyNow) { 
		$copySite = $copyStart;
	} else {
		$copySite = $copyStart." - ".$copyNow ;
	}
	$_copyright =  "<br /><div align=\"$align\"><span class=\"small\"><b>AlphaGetCouponCode</b> &copy; $copySite"
					. " - Bernard Gilly - <a href=\"http://www.alphaplug.com\" target=\"_blank\">www.alphaplug.com</a><br />"
					. "AlphaGetCouponCode is Free Software released under the <a href=\"http://www.gnu.org/licenses/gpl-2.0.html\" target=\"_blank\">GNU/GPL License</a></span></div>";
	echo $_copyright;
}

?>